<?php

	function displayXHTMLDocument($sTitle, $sBody) {
		
		echo <<<EOF
<?xml version="1.0" encoding="ISO-8859-15" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>$sTitle</title>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
		<meta name="language" content="en" />

		<link rel="stylesheet" type="text/css" href="styles.css" media="screen,projection"/>

	</head>

	<body>

		$sBody

	</body>
</html>	
EOF;
	}
	
	
	
	
	function displayFrameset($sTitle, $sFrames) {
		
		echo <<<EOF
<?xml version="1.0" encoding="ISO-8859-15" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>$sTitle</title>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
		<meta name="language" content="en" />
	</head>

	$sFrames
</html>	
EOF;
	}

?>